package com.bsoft.gol.hcs.specialist.bean.request;

import javax.validation.constraints.NotEmpty;;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/7/22 14:48
 * @Moddified By:
 */
public class FollowUpBaseReq implements Serializable {
    @NotEmpty(message = "机构ID不能为空",groups = {DeleteGroups.class,GetDetailGroups.class,DeleteDetailGroups.class})
    private String organizationId;//机构id
    @NotNull(message = "路径ID不能为空",groups = {DeleteGroups.class,GetDetailGroups.class,DeleteDetailGroups.class})
    private Long routeId;//路径ID
    @NotNull(message = "操作类别不能为空",groups = {DeleteGroups.class})
    private Integer operateType;//操作类别 1停用 2删除
    @NotNull(message = "路径详情ID不能为空",groups = {DeleteDetailGroups.class})
    private Long routeDetailId;//路径详细id
    private Byte status;//路径状态
    private String followType;//路径类型

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public Long getRouteDetailId() {
        return routeDetailId;
    }

    public void setRouteDetailId(Long routeDetailId) {
        this.routeDetailId = routeDetailId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }


    public String getFollowType() {
        return followType;
    }

    public void setFollowType(String followType) {
        this.followType = followType;
    }

    @Override
    public String toString() {
        return "FollowUpBaseReq{" +
                "organizationId='" + organizationId + '\'' +
                ", routeId=" + routeId +
                ", operateType=" + operateType +
                ", routeDetailId=" + routeDetailId +
                ", status='" + status + '\'' +
                '}';
    }

    public interface DeleteGroups {
    }
    public interface GetDetailGroups {
    }
    public interface DeleteDetailGroups {
    }
}
